package com.example.football.dao;

import com.example.football.pojo.News;
import com.example.football.pojo.People;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsDao {
    public List<News> selectAll();

    public void deleteByNewsid(Integer id);

    public List<News> selectByTitle(String title);

    public News selectById(Integer id);

    public void insertNews(News news);

    public void updateNews(News news);
}
